package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.UserAccessLogDao;
import io.wdb.modules.generator.generator.entity.UserAccessLogEntity;
import io.wdb.modules.generator.generator.service.UserAccessLogService;



@Service("userAccessLogService")
public class UserAccessLogServiceImpl implements UserAccessLogService {
	@Autowired
	private UserAccessLogDao userAccessLogDao;
	
	@Override
	public UserAccessLogEntity queryObject(Long id){
		return userAccessLogDao.queryObject(id);
	}
	
	@Override
	public List<UserAccessLogEntity> queryList(Map<String, Object> map){
		return userAccessLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return userAccessLogDao.queryTotal(map);
	}
	
	@Override
	public void save(UserAccessLogEntity userAccessLog){
		userAccessLogDao.save(userAccessLog);
	}
	
	@Override
	public void update(UserAccessLogEntity userAccessLog){
		userAccessLogDao.update(userAccessLog);
	}
	
	@Override
	public void delete(Long id){
		userAccessLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		userAccessLogDao.deleteBatch(ids);
	}
	
}
